package com.qingfeng.medical.biz.information.domain.dto;

import com.qingfeng.medical.biz.information.domain.enums.DoctorPositionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 医师信息表
 * 
 * @author 清风学Java
 * @date 2023-04-08 23:43:31
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "医师信息表")
public class DoctorInfoSaveDTO{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "医师职称")
	@NotNull(message = "医师职称不能为空")
	private DoctorPositionEnum position;

	@ApiModelProperty(value = "所属科室门诊信息")
	@NotNull(message = "所属科室门诊信息不能为空")
	private List<List<Long>> departmentPatient;

	@ApiModelProperty(value = "上班时间")
	@NotNull(message = "上班时间不能为空")
	private List<String> weekday;

	@ApiModelProperty(value = "主治简介")
	@NotBlank(message = "主治简介不能为空")
	private String introduction;
}
